<?php
include_once 'include/include.php';
$Timer = date("H");
$Weekr = date("w");
if($Weekr == 6 or $Weekr == 0)  $welcomewords = "周末快乐";
elseif($Timer < 4)  $welcomewords = "已经深夜了，仙人，你不会还没有睡觉吧！";
elseif($Timer < 6)  $welcomewords = "一日之计在于晨，运动一下真不错";
elseif($Timer < 8)  $welcomewords = "知识就是力量";
elseif($Timer < 12) $welcomewords = "已经工作很长时间了，适当放松一下自己";
elseif($Timer < 13) $welcomewords = "饿了吧，快去吃饭吧";
elseif($Timer < 14) $welcomewords = "工作积极，午休也要落实好";
elseif($Timer < 17) $welcomewords = "奋斗在一线的人们，请抓紧时间";
elseif($Timer < 18) $welcomewords = "这个时候运动一下，最有效果了";
elseif($Timer < 20) $welcomewords = "黄昏美意不尽收";
elseif($Timer < 24) $welcomewords = "要不要喝杯牛奶";
else $welcomewords = "";
$outvar['welcomewords'] = $welcomewords;
$outvar['username']=$_SESSION["adminname"];
$outvar['siteurl'] = SITE_URL;
$outvar['sitename'] = SITE_NAME;
outFile("top_menu");
?>